package com.hbnu.system.service.impl;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hbnu.system.mapper.AchievementSourceMapper;
import com.hbnu.system.model.entity.AchievementSource;
import com.hbnu.system.service.AchievementSourceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * (AchievementSource)表服务实现类
 *
 * @author makejava
 * @since 2025-07-23 15:25:25
 */
@Service("achievementSourceService")
public class AchievementSourceServiceImpl extends ServiceImpl<AchievementSourceMapper, AchievementSource> implements AchievementSourceService {

    @Autowired
    private AchievementSourceMapper achievementSourceMapper;

    @Override
    public List<AchievementSource> selectAll(){
        List<AchievementSource> list = baseMapper.selectList(Wrappers.lambdaQuery(AchievementSource.class));
        return list;
    }
}

